package com.carkeeper.shop.service;


import com.carkeeper.shop.pojo.Catalogue;
import com.github.pagehelper.Page;


import java.util.Map;

/**
 * 服务目录查询
 */
public interface CatalogueService {

    //分页查询
    Page<Catalogue> findAll(int page, int size);

    //条件分页查询
    Page<Catalogue> findTermPage(Map<String,Object> searchMap,int page,int size);

    //上下架功能
    String updateStatus(long id,String status);

    //查看功能
    Map<String,Object> details(long id);

}
